package org.snail.constant;

/**
 * 错误码
 */
public class ErrCodeConstant {
    public static final Integer SUCCESS = 200;   //操作成功

    public static final Integer ILLEGAL_PARAM = 1001;    //参数异常
    public static final Integer FILE_NOT_FOUND = 1002;    //找不到文件
    public static final Integer FILE_SIZE_OUT=1003;     //文件过大
    public static final Integer UNKONOWN_ERROR = 1100;    //未申明异常错误

    public static final Integer DB_ERR = 2001;    //数据库异常
    public static final Integer TRANSFER_ERR = 2002;    //数据转换异常
    public static final Integer DATA_ERROR = 2003;    //数据异常


    //人员
    public static final Integer ERROR_CODE_NO_EMP = 3000;  //查询不到员工
    public static final Integer ERROR_CODE_NO_TYPE=3001;    //没有选择文件类型
    public static final Integer ERROR_CODE_NO_STATE=3002;   //没有新增还是修改的标识,
    public static final Integer ERROR_CODE_NO_WORKNUM=3003; //没有工号
    public static final Integer ERROR_CODE_NO_EMPID=3004;   //没有员工id

    public static final Integer ERROR_CODE_NO_CLASSIFICATIONNAME=3005;   //没有分组名称

    //钉钉接口错误
    public static final Integer API_UNKNOW_ERROR = 4000;  //查询不到员工

    //jms 出错
    public static final Integer JMS_ERROR = 5000;

    //岗位层级错误代码
    public static final Integer JOBS_ERROR = 6000;
}
